{include file="header.tpl" title="HRFORMULAR"}
<form action="" method="post" target="_self" name="tongquat" >
<table width="105%" border="0" cellspacing="0" cellpadding="0" >
<tr>
<td width="20%">
<input type="button" value="{$ten_trove}" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong" size="1" onChange="changevalue('hanhdong');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
 
    <tr>
    <tr>
<tr >
	<td width="20%" >{$lbl_CHGCODE}</td>
	<td width="25%" style="color:#FF0000;"><input name="CHGCODE" id="CHGCODE" type="text" style="background:{$colorCHGCODE}; text-align:left" value="{$CHGCODE}" size="25" maxlength="10" onkeyup="this.value=this.value.toUpperCase().replace(' ','').replace('!','').replace('@','').replace('#','').replace('$','').replace('&','').replace('*','');" onblur="this.value=this.value.toUpperCase().replace(' ',''); "/>
      <span style="color:#FF0000">
	  *	</span>	</td>
	<td width="40%" style="text-align:right">{$lbl_CHGALIAS}</td>
		<td>
			<select name="CHGALIAS" size="1" id="CHGALIAS" >
			{foreach from=$cmbCHGALIAS key=k item=v}
			<option value="{$k}" {if $CHGALIAS eq $k} selected="selected" {/if}>{$k} - {$v}</option>
			{/foreach}
		</select>		</td>
</tr> 


<tr >
	 <td>{$lbl_CHGNAME}</td>
	 <td><span style="color:#FF0000;">
      <input name="CHGNAME" id="CHGNAME" type="text" value="{$CHGNAME}" size="25" maxlength="50" style="background:{$colorCHGNAME};text-align:left" />
	  *
    </span></td>
	<td width="35%" style="text-align:right">{$lbl_CHGACT} </td>
	<td width="20%">  
	
	<input name="CHGACT" id="CHGACT" type="text" style="background:{$colorCHGACT}; text-align:right" value="{$CHGACT}" size="20" maxlength="10"  onkeypress="return numberOnly(event);" />
	<span style="color:#FF0000">*</span></td>
</tr>  

<tr >
	 <td height="23">{$lbl_CHGNAMEEN}</td>
	<td><input name="CHGNAMEEN" id="CHGNAMEEN" type="text"  value="{$CHGNAMEEN}" size="25" maxlength="50" style="text-align:left"/>	</td>
</tr>  

<tr >
	 <td>{$lbl_EFFDATE}</td>
	 <td><input name="EFFDATE" id="EFFDATE" type="text" style="background:{$colorEFFDATE}; text-align:left;" value="{$EFFDATE}" size="25" maxlength="50" onclick="event.cancelBubble=true;this.select();lcs(this); "/>	
	 <span style="color:#FF0000;">*</span>
	 </td>
	 <td ></td>
	 <td >
	 	<font size="1.5" color="#999999">{$showIVAT} | </font>
	 	<font size="1.5" color="#999999">{$showOVAT}</font>	 </td>
</tr>  

<tr >
	<td>{$lbl_CHGTYPE}</td>
	<td><select name="CHGTYPE" size="1" id="CHGTYPE" onchange="return checkCHGTYPE(); " >
			{foreach from=$cboCHGTYPE key=k item=v}
	  
	  <option value="{$k}" {if $k eq $CHGTYPE} selected="selected" {/if}>{$k} - {$v}</option>
	  
			{/foreach}
	  
	  </select>
	   </td>
	<td style="text-align:right">{$lbl_VATTYPE}  	  </td>
	<td >
		<select name="VATTYPE" size="1" id="VATTYPE" >
			{foreach from=$cboVATTYPE key=k item=v}
			<option value="{$k}" {if $VATTYPE eq $k} selected="selected" {/if}>{$k} - {$v}</option>
			{/foreach}
		</select>	</td>
</tr>  

<tr >
	<td>{$lbl_CHGAMT}</td>
	<td><input name="CHGAMT" id="CHGAMT" type="text" style="background:{$colorCHGAMT}; text-align:right" value="{$CHGAMT}" size="25" maxlength="50"  onkeypress="return numberOnly(event);" />	</td>
</tr>  

<tr >
	 <td>{$lbl_RATE}</td>
	 <td ><input name="RATE" id="RATE" type="text" {$desebleTextbox} style="background:{$colorRATE}; text-align:right" value="{$RATE}" size="20" maxlength="50" onkeypress="return numberOnly(event);"/>
	   <span style=" font-size:12px;">
	%</span>	</td>
	<td>{$lbl_CHGMAX}    
	  <input name="CHGMAX" id="CHGMAX" {$desebleTextbox} type="text" style="background:{$colorCHGMAX}; text-align:right " value="{$CHGMAX}" size="17" maxlength="20" onkeypress="return numberOnly(event);" /></td>
	<td > {$lbl_CHGMIN}
		<input name="CHGMIN" id="CHGMIN" {$desebleTextbox} type="text" style="background:{$colorCHGMIN}; text-align:right" value="{$CHGMIN}" size="17" maxlength="20" onkeypress="return numberOnly(event);" />	</td>
</tr> 

<tr>
	<td colspan="4" nowrap="nowrap">
		{$lbl_PRDLIST}:
		<input name="showDSSP" id="showDSSP" type="submit" value="{$btnShowDSSP}" class="button_style" />	</td>
</tr>

<tr>
	<td colspan="4" nowrap="nowrap" style="z-index:0">
		{$dataSPDD}	</td>
</tr>

<tr>
<td colspan="4" align="right">
<input type="submit" name="capnhat" value="{$ten_cap_nhat}"  class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"  /></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>

<tr>
<td >
<input type="button" value="{$ten_trove}" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong1" size="1" onChange="changevalue('hanhdong1');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
